package org.jeecg.modules.yw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.yw.vo.WorkerStatic;

import java.util.List;

@Mapper
public interface WorkerStaticMapper extends BaseMapper<WorkerStatic> {

    Page<WorkerStatic> pageInfo(Page<WorkerStatic> page, @Param("name") String name, @Param("position") String position,
                                @Param("areas") String[] areas);

    List<WorkerStatic> listInfo(@Param("ids")String[] idss, @Param("name") String name,
                                @Param("position") String position,@Param("areas") String[] areas);
}
